<!DOCTYPE html>
<html lang="zh-CN">
<head>
	<meta charset="UTF-8">
	<title>首页</title>
	<link rel="stylesheet" type="text/css" href="css/basic.css">
	<link rel="stylesheet" type="text/css" href="css/main.css">
	<script type="text/javascript" src="js/jquery-1.11.0.min.js"></script>
	<script type="text/javascript" src="js/main.js"></script>
</head>
<body>
	<div class="hd">这是上传</div>
	<hr/>
	<br><br><br>
	<p>这是form表单上传</p>
	<form action="/upload" enctype="multipart/form-data" method="post">
		<input type="text" name="title"><br>
		单文件：<input type="file" name="upload[0]"><br>
		单文件：<input type="file" name="upload[1]"><br>
		<!-- 多文件：<input type="file" name="uploads" multiple="multiple"><br> -->
		<input type="submit" value="提交">
	</form>
	<br><br><br>
	<hr/>
	<br><br><br>
	<p>这是ajax上传</p>
		<input type="text" name="title"><br>
	    <input type="file" name="file" id="file" value="" multiple="multiple" /><br>
	    <input type="submit" value="提交"/>
</body>
</html>